package org.scorpios.search.analyzer;

import org.apache.lucene.analysis.Analyzer;

/**
 * @author zhangxudong
 * @date 2022/11/12 20:20
 * @desc
 */
public class SearchAnalyzer extends Analyzer {
    @Override
    protected TokenStreamComponents createComponents(String fieldName) {
        return new TokenStreamComponents(new SearchTokenizer());
    }
}
